package cn.iocoder.yudao.module.wrzj.controller.app.conversation.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "用户 APP - chatbase会话记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppConversationPageReqVO extends PageParam {

    @Schema(description = "chatbase会话id", example = "13126")
    private String conversationId;

    @Schema(description = "用户id", example = "17271")
    private String uid;

    @Schema(description = "伟人id", example = "17271")
    private String greatmanId;


    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "内容角色")
    private String role;

    @Schema(description = "机器人id", example = "24695")
    private String chatbotId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
